package cn.maiyar.swagger.entity;

import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.ArrayList;
import java.util.List;

/**
 * 接口鉴权相关配置
 *
 * @author c.c
 */
@Data
@NoArgsConstructor
public class Authorization {
    // 鉴权策略ID
    private String name = "";
    // 鉴权URL的正则
    private String authRegex = "^.*$";
    // 鉴权作用域列表
    private List<AuthorizationScope> authorizationScopeList = new ArrayList<>();
    // TOKEN URL list
    private List<String> tokenUrlList = new ArrayList<>();
}
